﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>

<script type="text/javascript">
    function DelOK() {
        if (confirm('确认删除') == true) {
            return true;
        }
        else {
            return false;
        }
    }    
</script>

<table class="gridtable" width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="10%">
            <div>
                <a href="EditGroup.aspx">添加组</a></div>
        </td>
        <td width="10%" align="left">
            <asp:TextBox ID="txtSeach" Text="" runat="server"></asp:TextBox>
        </td>
        <td align="left">
            <asp:Button ID="btnQuery" class="input" Text="查询" runat="server"></asp:Button>
        </td>
    </tr>
</table>
<table class="gridtable" width="100%" border="1">
    <tr class="title" align="center" valign="middle">
        <th>
            组名
        </th>
        <th>
            组用户管理
        </th>
        <th>
            编辑
        </th>
        <th>
            设置权限
        </th>
        <th>
            删除
        </th>
    </tr>
    <CBW:MPRepeater ID="MPRepeater1" runat="server">
        <ItemTemplate>
            <tr align="center" valign="middle">
                <td>
                    <%#Eval("GROUP_NAME")%>
                </td>
                <td>
                    <a href="MemberMis.aspx?groupid=<%#Eval("GroupId")%>" target="_self">成员管理</a>
                </td>
                <td>
                    <a href="EditGroup.aspx?groupid=<%#Eval("GroupId")%>">编辑</a>
                </td>
                <td>
                    <a href="MenuGroup.aspx?groupid=<%#Eval("GroupId")%>">设置权限</a>
                </td>
                <td>
                    <a href="UserGrouplist.aspx?groupid=<%#Eval("GroupId")%>&action=del"  onclick="return DelOK();">删除</a>
                </td>
            </tr>
        </ItemTemplate>
    </CBW:MPRepeater>
</table>
